Produces the set intersection of two parallel sequences by using the
default equality comparer to compare values.
Namespace:
System.Linq
Assembly:
System.Threading (in System.Threading.dll)
Syntax
Parameters
- first
- Type: System.Linq..::.ParallelQuery<(Of <(TSource>)>)
A sequence whose distinct elements that also appear in second will be returned.
- second
- Type: System.Linq..::.ParallelQuery<(Of <(TSource>)>)
A sequence whose distinct elements that also appear in the first sequence will be returned.
Type Parameters
- TSource
- The type of the elements of the input sequences.
Return Value
A sequence that contains the elements that form the set intersection of two sequences.
Exceptions
Exception | Condition |
---|
System..::.ArgumentNullException |
first or second is a null reference (Nothing in Visual Basic).
|
See Also